import Layout from '@/layout'

const Router = {
  path: '/consumeMiningManagement',
  component: Layout,
  redirect: '/thirdPartyGoodsLs',
  name: 'consumeMiningManagement',

  meta: {
    title: '消费挖矿管理',
    icon: 'consumeMiningManagement'
  },
  children: [
    {
      path: 'storeIndustrySetting',
      component: () => import('@/views/consumeMiningManagement/storeIndustrySetting/index'),
      name: 'storeIndustrySetting',
      meta: {
        title: '店铺行业设置',
        noCache: true
      }
    },
    {
      path: 'medalIncentive',
      component: () => import('@/views/consumeMiningManagement/medalIncentive/index'),
      name: 'medalIncentive',
      meta: {
        title: '勋章激励规则设置',
        noCache: true
      }
    },
    {
      path: 'thirdPartyGoodsLs',
      component: () => import('@/views/consumeMiningManagement/thirdPartyGoodsLs/index'),
      name: 'thirdPartyGoodsLs',
      meta: {
        title: '第三方商品列表',
        noCache: true
      }
    },
    {
      path: 'clockShopConfiguration',
      component: () => import('@/views/consumeMiningManagement/clockShopConfiguration/index'),
      name: 'clockShopConfiguration',
      meta: {
        title: '打卡店铺配置',
        noCache: true
      }
    },
    {
      path: 'onlineClockingActivity',
      component: () => import('@/views/consumeMiningManagement/onlineClockingActivity/index'),
      name: 'onlineClockingActivity',
      meta: {
        title: '线上打卡活动',
        noCache: true
      }
    },
    {
      path: 'punchVerificationRecord',
      component: () => import('@/views/consumeMiningManagement/punchVerificationRecord/index'),
      name: 'punchVerificationRecord',
      meta: {
        title: '打卡核销记录',
        noCache: true
      }
    },
    {
      path: 'jackpot',
      component: () => import('@/views/consumeMiningManagement/jackpot/index'),
      name: 'jackpot',
      hidden: true,
      meta: {
        title: '奖池',
        noCache: true
      }
    },
    {
      path: 'clockingActivityOrder',
      component: () => import('@/views/consumeMiningManagement/clockingActivityOrder/index'),
      name: 'clockingActivityOrder',
      meta: {
        title: '打卡活动订单',
        noCache: true
      }
    },
    {
      path: 'clockingCouponCode',
      component: () => import('@/views/consumeMiningManagement/clockingCouponCode/index'),
      name: 'clockingCouponCode',
      meta: {
        title: '打卡券码明细',
        noCache: true
      }
    },
  ]
}

export default Router
